from typing import Optional

from pydantic import BaseModel


class IdeEnvironmentUpdateRequest(BaseModel):
    name: str
    max_cpu: int
    max_memory: int
    max_disk: int
    status: Optional[int] = 1
    id: str
    tenant_id: Optional[str]
    storage_class: str
